#include "mainwindow.h"
#include "ui_mainwindow.h"

#include <QMovie>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
}

MainWindow::~MainWindow()
{
    delete ui;
}


void MainWindow::on__start_clicked()
{
    static QMovie movie("test.gif");
    ui -> _show -> setMovie(&movie);
    ui -> _show -> setVisible(true);
    movie.start();
}

void MainWindow::on__stop_clicked()
{
    ui -> _show -> setVisible(false);
}
